import axios  from "@/utils/axios";
const order={
    findAllOrder(data){
        return axios.get("/orderManagementAD/getSearch",{
            params:data
        })
    },
    findById(data){
        return axios.get('/orderManagementAD/getOne',{
            params:data
        })
    },
    findByCash(data){
        return axios.get('/orderManagementAD/getCash',{
            params:data
        })
    },
    findByAfter(data){
        return axios.get('/orderManagementAD/getAfterOrder',{
            params:data
        })
    },
    UpdateData(data){
        return axios.post('/orderManagementAD/getUpdate',
            data
        )
    },
}
export default order